package com.shenkh.usunshine.spring.helloworld.listener;

import org.springframework.context.ApplicationEvent;

public class GreetingEvent extends ApplicationEvent {
	private static final long serialVersionUID = 3054489909268287513L;

	public GreetingEvent(Object source, String greetingWords) {
		super(source);
		this.greetingWords = greetingWords;
	}
			
	public String getGreetingWords() {
		return greetingWords;
	}

	private String greetingWords;
}
